package com.junction.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.junction.bean.User;
import com.junction.mapper.UserMapper;
import com.junction.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserMapper mapper;

	@Override
	public User getUserInfo(int id) {
		return mapper.getUserInfo(id);
	}

}
